Each layer of the OSI model is a set of protocols. These protocols may depend on the protocols of the layers above and below them.
By defining the standard OSI model, protocols for one layer can be written with the confidence that they will properly interact with protocols of the surrounding layers.